<?php



/**
 * Skeleton subclass for representing a row from the 'users' table.
 *
 *
 *
 * You should add additional methods to this class to meet the
 * application requirements.  This class will only be generated as
 * long as it does not already exist in the output directory.
 *
 * @package    propel.generator.
 */
class Users extends BaseUsers
{
	
	const ROLE_USER = 0;
	const ROLE_ADMIN = 1;
	
	public function isAdmin() {
		return ($this->getRole() == self::ROLE_ADMIN);
	}
	
}
